Yes! Finally! Thank you, Wolfgang!
Am 13.11.22 um 13:17 schrieb Wolfgang Schuster via ntg-context:
Henning Hraban Ramm via ntg-context schrieb am 13.11.2022 um 11:37:
\definemeasure[SpineWidth][2mm + (0.135mm * \noffigurepages/2)]
You can try
\expanded{\definemeasure[SpineWidth
[CONTENT]
\definemeasure[SpineWidth][2mm + (0.135mm * \noffigurepages/2)]
You can try
\expanded{\definemeasure[SpineWidth][...]}
That works so far, if I output \measure{SpineWidth} it shows the right
size (~42pt).
But if I use this measure in
\setlayer[width=\measure{SpineWidth}]{...}
it’s
One problem left with dimensions that I can’t reproduce in a minimal
example:
I want to calculate the spine width of the cover from the number of
content pages:
\useexternalfigure[CONTENT][book.pdf]
\getfiguredimensions[CONTENT]
\definemeasure[SpineWidth][2mm + (0.135mm * \noffigurepages/2
Am 04.11.22 um 11:52 schrieb Herbert Voss via ntg-context:
\definemeasure[FlapWidth][\measured{PageWidth} * 0.8]
\definemeasure[FlapWidth][0.8\measured{PageWidth}]
works
Yes, thank you!
That’s why I asked for the basics in my first post – which operators can
I use how, in which order
with dimension calculations. Is there
anything I can read about the possibilities and limitations?
e.g. with
\definemeasure[PageWidth][132mm]
none of the following works:
\definemeasure[FlapWidth][0.8 * \measure{PageWidth}]
use \measured (with a "d" to get a dimension)
Only in expres
the possibilities and limitations?
e.g. with
\definemeasure[PageWidth][132mm]
none of the following works:
\definemeasure[FlapWidth][0.8 * \measure{PageWidth}]
use \measured (with a "d" to get a dimension)
Only in expressions like that or always?
In https://source.contextgarden.net/syst-aux.mki
Am 03.11.22 um 21:51 schrieb Hans Hagen via ntg-context:
On 11/3/2022 9:32 PM, Henning Hraban Ramm via ntg-context wrote:
I’m constantly struggling with dimension calculations. Is there
anything I can read about the possibilities and limitations?
e.g. with
\definemeasure[PageWidth][132mm
On 11/3/2022 9:32 PM, Henning Hraban Ramm via ntg-context wrote:
I’m constantly struggling with dimension calculations. Is there anything
I can read about the possibilities and limitations?
e.g. with
\definemeasure[PageWidth][132mm]
none of the following works:
\definemeasure[FlapWidth][0.8
I’m constantly struggling with dimension calculations. Is there anything
I can read about the possibilities and limitations?
e.g. with
\definemeasure[PageWidth][132mm]
none of the following works:
\definemeasure[FlapWidth][0.8 * \measure{PageWidth}]
\definemeasure[FlapWidth][.8\measure